Stored Procedures [dbo].[BAEOrderProductCategoryLookupUpdate]
Properties
PropertyValue
ANSI Nulls OnYes
Quoted Identifier OnYes
Parameters
NameData TypeMax Length (Bytes)
@OrderProductIDint4
@OrderCategoryIDint4
@IsFeaturedbit1
@SortOrderint4
SQL Script
create procedure [dbo].[BAEOrderProductCategoryLookupUpdate] @OrderProductID as
int,
    @OrderCategoryID AS int,
    @IsFeatured AS bit,
    @SortOrder AS int
AS
    UPDATE OrderProductCategoryLookup
    SET     
    OrderCategoryID = @OrderCategoryID,            
    IsFeatured = @IsFeatured,            
    SortOrder = @SortOrder        

    WHERE OrderProductID = @OrderProductID AND
    OrderCategoryID = @OrderCategoryID;

GO
Uses